package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单结算DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-12-17
 */
public class OrderSettlementDTO implements Serializable {
    private static final long serialVersionUID = -9162577107082276268L;

    /**
     * 订单Id
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 订单创建时间
     */
    private Long createTime;

    /**
     * 订单摘要
     */
    private String digest;

    /**
     * 订单总金额
     */
    private BigDecimal totalAmount;

    /**
     * 买方（采购）会员Id
     */
    private Long buyerMemberId;

    /**
     * 买方（采购）会员角色Id
     */
    private Long buyerRoleId;

    /**
     * 买方（采购）会员名称
     */
    private String buyerMemberName;

    /**
     * 卖方（供应）会员Id
     */
    private Long vendorMemberId;

    /**
     * 卖方（供应）会员角色Id
     */
    private Long vendorRoleId;

    /**
     * 卖方（供应）会员名称
     */
    private String vendorMemberName;

    /**
     * 合同Id
     */
    private Long contractId;

    /**
     * 发货批次
     */
    private Integer batchNo;

    /**
     * 发货单号
     */
    private String deliveryNo;

    /**
     * 发货时间
     */
    private Long deliveryTime;

    /**
     * 收货单号
     */
    private String receiveNo;

    /**
     * 收货时间
     */
    private Long receiveTime;

    /**
     * 订单外部状态名称
     */
    private String outerStatusName;

    /**
     * 订单类型
     */
    private Integer orderType;

    /**
     * 已收货商品列表
     */
    private List<ReceivedProductSettlementDTO> receivedProducts;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Long getBuyerMemberId() {
        return buyerMemberId;
    }

    public void setBuyerMemberId(Long buyerMemberId) {
        this.buyerMemberId = buyerMemberId;
    }

    public Long getBuyerRoleId() {
        return buyerRoleId;
    }

    public void setBuyerRoleId(Long buyerRoleId) {
        this.buyerRoleId = buyerRoleId;
    }

    public String getBuyerMemberName() {
        return buyerMemberName;
    }

    public void setBuyerMemberName(String buyerMemberName) {
        this.buyerMemberName = buyerMemberName;
    }

    public Long getVendorMemberId() {
        return vendorMemberId;
    }

    public void setVendorMemberId(Long vendorMemberId) {
        this.vendorMemberId = vendorMemberId;
    }

    public Long getVendorRoleId() {
        return vendorRoleId;
    }

    public void setVendorRoleId(Long vendorRoleId) {
        this.vendorRoleId = vendorRoleId;
    }

    public String getVendorMemberName() {
        return vendorMemberName;
    }

    public void setVendorMemberName(String vendorMemberName) {
        this.vendorMemberName = vendorMemberName;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo;
    }

    public Long getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Long deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getReceiveNo() {
        return receiveNo;
    }

    public void setReceiveNo(String receiveNo) {
        this.receiveNo = receiveNo;
    }

    public Long getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Long receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getOuterStatusName() {
        return outerStatusName;
    }

    public void setOuterStatusName(String outerStatusName) {
        this.outerStatusName = outerStatusName;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public List<ReceivedProductSettlementDTO> getReceivedProducts() {
        return receivedProducts;
    }

    public void setReceivedProducts(List<ReceivedProductSettlementDTO> receivedProducts) {
        this.receivedProducts = receivedProducts;
    }
}
